package com.qijian.maindata.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.qijian.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.math.BigDecimal;
import java.util.Date;

@TableName("qm_edu_training_plan_zjxny")
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public class QmTrainingPlan extends BaseEntity {

    @JsonSerialize(using = ToStringSerializer.class)
    @TableId(type = IdType.AUTO)
    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty("培训主题")
    private String PlanName;

    @ApiModelProperty("发布人")
    private String PublishChnName;

    @ApiModelProperty("发布日期")
    private Date PublishDate;

    @ApiModelProperty("培训开始日期")
    private Date PlanStartTime;

    @ApiModelProperty("培训结束日期")
    private Date PlanEndTime;

    @ApiModelProperty("培训学时")
    private BigDecimal TrainHours;

    @ApiModelProperty("培训类别")
    private String TypeName;

    @ApiModelProperty("培训形式")
    private String TrainMethodName;

    @ApiModelProperty("培训员工姓名")
    private String ChnName;

    @ApiModelProperty("培训员工所属部门")
    private String OrgFullName;

    @ApiModelProperty("培训员工所属岗位")
    private String PostName;

    @ApiModelProperty("理论成绩分数")
    private BigDecimal Score;

    @ApiModelProperty("理论是否通过")
    private String IsExamPass;

    @ApiModelProperty("理论通过时间")
    private Date ExamPassDate;

    @ApiModelProperty("培训员工总学时")
    private BigDecimal TotalStandardStudyHours;

    @ApiModelProperty("在线学习时间(分钟)")
    private BigDecimal CurrentStudyHours;

    @ApiModelProperty("当前学习进度")
    private String CurrentProgress;
}
